package cn.xk.org.mapper;

import cn.xk.basic.mapper.BaseMapper;
import cn.xk.org.domain.Employee;
import cn.xk.org.query.EmployeeQuery;

import java.util.List;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void delRoleByEmployeeId(Long id);

    void addRole(Employee employee);

    Employee loadByLogininfoId(Long id);

    List<Employee> queryByShopId(Long shopId);
}
